FPFramework\Libs\Vendors\GeoIP\GeoIP A

Total Complexity 72
Dependencies 6
Dependents 3
Total lines 552
Lines of code 264
Logical lines of code 136
Comment lines 170
Methods 21
Properties 7

Methods 21

Method Rating Maintainability Complexity Lines of code
updateDatabase()
A
43 10 52
__construct()
A
52 8 24
deleteDirectory()
S
57 7 17
getRecord()
S
51 6 31
downloadDatabase()
S
54 4 20
getCity()
S
62 4 12
getRegionName()
S
62 4 12
getContinentName()
S
62 4 12
getCountryName()
S
62 4 12
getKey()
S
65 3 11
getContinentCode()
S
67 3 8
getRegionCode()
S
67 3 8
getCountryCode()
S
67 3 8
dbIsValid()
S
64 2 11
setKey()
S
81 1 3
setIP()
S
77 1 4
getTempFolder()
S
81 1 3
getDBFolder()
S
78 1 3
getFrameworkDBPath()
S
77 1 3
getDBPath()
S
79 1 3
needsUpdate()
S
68 1 7